package com.bill.pojo;

/**
 * bills表
 */
public class Bills {
    private int id;
    private String title;
    private String bill_time;
    private int type_id;
    private double price;
    private String explain;

    private Bill bill;

    public Bills() {
    }

    public Bills(int id, String title, String bill_time, int type_id, double price, String explain) {
        this.id = id;
        this.title = title;
        this.bill_time = bill_time;
        this.type_id = type_id;
        this.price = price;
        this.explain = explain;
    }

    public Bills(int id, String title, String bill_time, int type_id, double price, String explain, Bill bill) {
        this.id = id;
        this.title = title;
        this.bill_time = bill_time;
        this.type_id = type_id;
        this.price = price;
        this.explain = explain;
        this.bill = bill;
    }

    @Override
    public String toString() {
        return "Bills{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", bill_time=" + bill_time +
                ", type_id=" + type_id +
                ", price=" + price +
                ", explain='" + explain + '\'' +
                ", bill=" + bill +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getBill_time() {
        return bill_time;
    }

    public void setBill_time(String bill_time) {
        this.bill_time = bill_time;
    }

    public int getType_id() {
        return type_id;
    }

    public void setType_id(int type_id) {
        this.type_id = type_id;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getExplain() {
        return explain;
    }

    public void setExplain(String explain) {
        this.explain = explain;
    }

    public Bill getBill() {
        return bill;
    }

    public void setBill(Bill bill) {
        this.bill = bill;
    }
}
